-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Conversation
# FreeBSD build instructions | ||
|
||
## Disclaimer | ||
Instructions bellow may or may not give you what you want. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the "bellow" typo, this is also a strange disclaimer. Why have instructions if they "may or may not give you what you want?" We should be clear about why they may not provide the desired results.
|
||
```sudo pkg install cmake git icu libunwind bash python2 krb5 lttng-ust llvm60 libgit2``` | ||
|
||
some scripts may still assume /bin/bash exists. To workaround it for now do of needed: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"now do of needed"?
sudo ln -s /usr/local/bin/bash /bin/bash | ||
``` | ||
|
||
This is certainly undesirable and it should be avoided if possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is undesirable?
cd ~/dotnet | ||
curl https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-freebsd-x64.tar.gz | tar xfz - | ||
``` | ||
if on 12.x you may also need to set `LD_PRELOAD` to `/usr/lib/libpthread.so` to avoid issue when cli freezes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"to avoid issue" => "to avoid issues"
And what does it mean that "cli freezes"?
if on 12.x you may also need to set `LD_PRELOAD` to `/usr/lib/libpthread.so` to avoid issue when cli freezes. | ||
|
||
|
||
As of summer 2019 this CLI is no longer good enough to build all repos. If that is your case jump to section [Updating CLI](#updating--bootstrap-cli) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"If that is your case"... what case? It's beyond that point for everyone, no?
Binary snapshot can be obtained from https://github.com/wfurt/blob as dotnet-sdk-freebsd-x64-latest.tgz | ||
|
||
## Getting sources | ||
master of source-build pulls in source code of specific snapshot instead of tip of master branches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm having a hard time following these docs. I'm going to stop commenting on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I see what you mean. The document needs to be rewritten.
Thanks for your comments, @stephentoub @jkotas @danmosemsft .
|
Sounds fine. Thanks. |
* Backup important wiki information * Restore original title in unix-instructions.md * FreeBSD instructions only for 3.0 * Remove conferences.md * update unix-instructions.md title * Move FreeBSD link to the end of unix-instructions.md Commit migrated from dotnet/corefx@9f5e302
Fixes: https://github.com/dotnet/corefx/issues/36057
Original documents in this PR:
Building .NET Core 2.X on FreeBSDLinks